<cpanel include="../../config.php">

<?

/***************************************************************************
 *                                 accounts_change_quota.php
 *                            -------------------
 *   Begin                : Thursday, April 16, 2005
 *   Copyright            : (C) 2005 Point and Code
 *   Domain               : http://www.pointandcode.com/
 *   Email                : support@pointandcode.com
 *   Version              : 1.0.0
 *
 ***************************************************************************/

/***************************************************************************
 *
 *   This program is free software; you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation; either version 2 of the License, or
 *   (at your option) any later version.
 *
 ***************************************************************************/

$html_root_path = '../../';
include $root_path.'common.php';
$page_title = $lang['change_account_quota'];
include $root_path.'page_header.php';






//
// OK, it hasn't
//

$email = "<cpanel print="$FORM{'email'}">";
$domain = "<cpanel print="$FORM{'domain'}">";

$quota = "<cpanel Email="getpopquota($FORM{'email'},$FORM{'domain'})">";








$template->set_filenames(array(
	'body' => $root_path.$template_path.'mail/accounts_change_quota.tpl')
);


$template->assign_vars(array(
	'EMAIL' => $email,
	'EMAIL_DOMAIN' => $domain,
	'QUOTA' => $quota,
	'S_ACTION' => 'accounts_change_quota_done.php',
	
	'L_QUOTA_INTRO' => sprintf($lang['quota_intro'], $email."@".$domain),
	'L_EMAIL_ACCOUNTS' => $lang['email_accounts'],
	'L_CHANGE_QUOTA' => $lang['change_account_quota'],
	'L_NEW_QUOTA' => $lang['new_quota'],
	'L_MB' => $lang['mb'],
	
	)
);



//
// Woohoo! All done!
//
$template->pparse('body');




include $root_path.'page_tail.php';




?>